import { ApiReturn } from '@/types/global';
import { get } from '@/utils/request';

class NamespaceService {
  static list = (): ApiReturn<{
    names: string[];
  }> => get('/v1/namespace/list');
}

export { NamespaceService };
export default NamespaceService;
